<?php

namespace catchAdmin\phone\request\wechatUserBank;

use catcher\base\CatchRequest;

class saveRequest extends CatchRequest
{
    protected $needCreatorId = false;


    protected function rules(): array
    {
        return [
            'bank_name|开户行'       => 'require',
            'bank_kai_name|开户支行' => 'require',
            'bank_no|银行卡号'       => 'require|length:13,19',
        ];
    }


    protected function message(): array
    {
        // TODO: Implement message() method.
        return [
            'bank_name.require'     => '请输入开户行',
            'bank_kai_name.require' => '请输入开户支行',
            'bank_no.require'       => '请输入银行卡号',
        ];
    }
}
